package com.ruoyi.ldzlsb.service;

import java.util.List;
import com.ruoyi.ldzlsb.domain.SbInspectionDetail;

/**
 * 巡检明细Service接口
 * 
 * @author anli
 * @date 2025-01-11
 */
public interface ISbInspectionDetailService 
{
    /**
     * 查询巡检明细
     * 
     * @param detailId 巡检明细主键
     * @return 巡检明细
     */
    public SbInspectionDetail selectSbInspectionDetailByDetailId(Long detailId);

    /**
     * 查询巡检明细列表
     * 
     * @param sbInspectionDetail 巡检明细
     * @return 巡检明细集合
     */
    public List<SbInspectionDetail> selectSbInspectionDetailList(SbInspectionDetail sbInspectionDetail);

    /**
     * 新增巡检明细
     * 
     * @param sbInspectionDetail 巡检明细
     * @return 结果
     */
    public int insertSbInspectionDetail(SbInspectionDetail sbInspectionDetail);

    /**
     * 修改巡检明细
     * 
     * @param sbInspectionDetail 巡检明细
     * @return 结果
     */
    public int updateSbInspectionDetail(SbInspectionDetail sbInspectionDetail);

    /**
     * 批量删除巡检明细
     * 
     * @param detailIds 需要删除的巡检明细主键集合
     * @return 结果
     */
    public int deleteSbInspectionDetailByDetailIds(Long[] detailIds);

    /**
     * 删除巡检明细信息
     * 
     * @param detailId 巡检明细主键
     * @return 结果
     */
    public int deleteSbInspectionDetailByDetailId(Long detailId);

    /**
     * 根据巡检单ID查询巡检明细列表
     * 
     * @param recordId 巡检单ID
     * @return 巡检明细集合
     */
    public List<SbInspectionDetail> selectSbInspectionDetailByRecordId(Long recordId);

    /**
     * 批量新增巡检明细
     * 
     * @param detailList 巡检明细列表
     * @return 结果
     */
    public int batchInsertSbInspectionDetail(List<SbInspectionDetail> detailList);

    /**
     * 批量修改巡检明细
     * 
     * @param detailList 巡检明细列表
     * @return 结果
     */
    public int batchUpdateSbInspectionDetail(List<SbInspectionDetail> detailList);
} 